
// Package update contains definitions needed for updating references after removing rows/columns.
package update ;

// UpdateQuery contains terms of how to update references after removing row/column.
type UpdateQuery struct{

// UpdateType is one of the update types like UpdateActionRemoveColumn.
UpdateType UpdateAction ;

// ColumnIdx is the index of the column removed.
ColumnIdx uint32 ;

// SheetToUpdate contains the name of the sheet on which removing happened.
SheetToUpdate string ;

// UpdateCurrentSheet is true if references without sheet prefix should be updated as well.
UpdateCurrentSheet bool ;};const (UpdateActionRemoveColumn UpdateAction =iota ;);

// UpdateAction is the type for update types constants.
type UpdateAction byte ;